<template>
  <div class="container">
    <MulRealTimeVideo :operationId="operationId"></MulRealTimeVideo>
  </div>
</template>

<script setup>
import MulRealTimeVideo from '@/components/MulRealTimeVideo/index.vue'
import { inject,watch,ref } from 'vue';
let checkOperation=inject("operation")
let operationId = ref(checkOperation.value?.id)
watch(checkOperation, (newVal, oldVal) => {
  operationId.value = newVal.id
})
</script>

<style lang="scss" scoped>
.container {
  flex: 1;
  border-radius: 10px;
  box-sizing: border-box;
  
}
</style>